<template>
  <div class="doc">
    <h2>Progress</h2>
    <p class="component-name-tip">In non-string templates，it is necessary to use <code>h-progress</code>. </p>
    <h3>Basic</h3>
    <exampleEn demo="view/progress1"></exampleEn>

    <h3>Dynamic</h3>
    <exampleEn demo="view/progress2"></exampleEn>

    <h3>Progress Property</h3>
    <table class="table">
      <tr>
        <th>Property</th>
        <th>Description</th>
        <th>Type</th>
        <th>Optional</th>
        <th>Default</th>
      </tr>
      <tr>
        <td>percent</td>
        <td>percent value</td>
        <td>Number</td>
        <td>-</td>
        <td>0</td>
      </tr>
      <tr>
        <td>color</td>
        <td>Display color</td>
        <td>String</td>
        <td>green, red, yellow, blue, primary, RGB</td>
        <td>primary</td>
      </tr>
      <tr>
        <td>strokeWidth</td>
        <td>height</td>
        <td>Number</td>
        <td>-</td>
        <td>10</td>
      </tr>
    </table>
  </div>
</template>
